<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>FEX 前端技术社区</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            color: #3f3f46;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .dropcap:first-letter {
            float: left;
            font-size: 3.5em;
            line-height: 0.8em;
            padding-right: 0.1em;
            padding-top: 0.1em;
            font-weight: 700;
            color: #4f46e5;
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-20 px-4">
        <div class="container mx-auto max-w-6xl">
            <div class="flex flex-col md:flex-row items-center">
                <div class="md:w-1/2 mb-10 md:mb-0">
                    <h1 class="text-4xl md:text-5xl font-bold mb-4 font-serif">FEX 前端技术社区</h1>
                    <p class="text-xl md:text-2xl mb-8 opacity-90">探索前端技术的无限可能</p>
                    <div class="bg-white bg-opacity-20 backdrop-blur-sm rounded-lg p-6 max-w-lg">
                        <p class="dropcap">FEX 社区由百度核心前端团队创建，致力于将前端技术经验与成果转化为产品，推动前端技术的发展与创新。</p>
                    </div>
                    <a href="https://fex-team.github.io/" target="_blank" class="mt-6 inline-block bg-white text-indigo-600 hover:bg-gray-100 font-medium py-3 px-6 rounded-lg transition duration-300">
                        访问FEX官网 <i class="fas fa-external-link-alt ml-2"></i>
                    </a>
                </div>
                <div class="md:w-1/2 flex justify-center">
                    <img src="https://images.unsplash.com/photo-1555066931-4365d14bab8c?ixlib=rb-1.2.1&auto=format&fit=crop&w=500&q=60" alt="前端开发" class="rounded-xl shadow-2xl w-full max-w-md">
                </div>
            </div>
        </div>
    </section>

    <!-- Main Content -->
    <section class="py-16 px-4">
        <div class="container mx-auto max-w-6xl">
            <div class="text-center mb-16">
                <h2 class="text-3xl font-bold mb-4 text-gray-800 font-serif">FEX 技术资源与核心成果</h2>
                <div class="w-20 h-1 bg-indigo-500 mx-auto"></div>
            </div>

            <!-- Features Grid -->
            <div class="grid md:grid-cols-2 gap-8 mb-16">
                <div class="bg-white rounded-xl p-8 shadow-md card-hover">
                    <div class="text-indigo-500 text-3xl mb-4">
                        <i class="fas fa-chart-line"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3 text-gray-800">数据可视化框架选择</h3>
                    <p class="text-gray-600">选型合适的数据可视化框架对于确保项目质量至关重要。FEX 社区分享了多种框架的对比分析，帮助开发者根据具体需求做出最佳选择。</p>
                    <div class="mt-4">
                        <span class="inline-block bg-indigo-100 text-indigo-800 text-xs px-2 py-1 rounded mr-2">D3.js</span>
                        <span class="inline-block bg-indigo-100 text-indigo-800 text-xs px-2 py-1 rounded mr-2">ECharts</span>
                        <span class="inline-block bg-indigo-100 text-indigo-800 text-xs px-2 py-1 rounded">Chart.js</span>
                    </div>
                </div>

                <div class="bg-white rounded-xl p-8 shadow-md card-hover">
                    <div class="text-indigo-500 text-3xl mb-4">
                        <i class="fas fa-newspaper"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3 text-gray-800">FEX 技术周刊</h3>
                    <p class="text-gray-600">FEX 定期发布技术周刊，内容涵盖前端领域最新动态、技术探讨和实践经验，是前端开发者不可多得的学习资源。</p>
                    <a href="#" class="mt-4 inline-block text-indigo-500 hover:text-indigo-700 font-medium">
                        查看往期周刊 <i class="fas fa-arrow-right ml-1"></i>
                    </a>
                </div>

                <div class="bg-white rounded-xl p-8 shadow-md card-hover">
                    <div class="text-indigo-500 text-3xl mb-4">
                        <i class="fas fa-mobile-alt"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3 text-gray-800">H5 翻页效果实现</h3>
                    <p class="text-gray-600">FEX 成员分享了如何实现丝滑的 H5 翻页效果，探讨了多种技术方案和性能优化技巧，为提升移动端用户体验提供了宝贵经验。</p>
                </div>

                <div class="bg-white rounded-xl p-8 shadow-md card-hover">
                    <div class="text-indigo-500 text-3xl mb-4">
                        <i class="fab fa-react"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-3 text-gray-800">FIS3 与 React 结合开发</h3>
                    <p class="text-gray-600">FIS3 作为强大的前端工程化工具，与 React 框架配合使用可以极大提升开发效率和项目质量，FEX 社区详细介绍了这种组合的最佳实践。</p>
                </div>
            </div>

            <!-- Technology Products -->
            <div class="mb-16">
                <h3 class="text-2xl font-bold mb-6 text-gray-800 font-serif">核心技术与产品</h3>
                <div class="grid md:grid-cols-4 gap-6">
                    <div class="bg-white rounded-lg p-6 shadow-sm text-center">
                        <div class="text-indigo-500 text-4xl mb-4">
                            <i class="fas fa-project-diagram"></i>
                        </div>
                        <h4 class="font-bold mb-2">FIS</h4>
                        <p class="text-sm text-gray-600">前端集成解决方案</p>
                    </div>
                    <div class="bg-white rounded-lg p-6 shadow-sm text-center">
                        <div class="text-indigo-500 text-4xl mb-4">
                            <i class="fas fa-file-alt"></i>
                        </div>
                        <h4 class="font-bold mb-2">aipage</h4>
                        <p class="text-sm text-gray-600">智能化页面生成平台</p>
                    </div>
                    <div class="bg-white rounded-lg p-6 shadow-sm text-center">
                        <div class="text-indigo-500 text-4xl mb-4">
                            <i class="fas fa-cubes"></i>
                        </div>
                        <h4 class="font-bold mb-2">sugar</h4>
                        <p class="text-sm text-gray-600">前端组件库</p>
                    </div>
                    <div class="bg-white rounded-lg p-6 shadow-sm text-center">
                        <div class="text-indigo-500 text-4xl mb-4">
                            <i class="fas fa-cogs"></i>
                        </div>
                        <h4 class="font-bold mb-2">amis</h4>
                        <p class="text-sm text-gray-600">低代码前端框架</p>
                    </div>
                </div>
            </div>

            <!-- Data Visualization -->
            <div class="mb-16">
                <h3 class="text-2xl font-bold mb-6 text-gray-800 font-serif">技术生态系统</h3>
                <div class="bg-white rounded-xl p-6 shadow-md">
                    <div class="mermaid">
                        graph TD
                            A[FEX 社区] --> B[技术周刊]
                            A --> C[开源项目]
                            A --> D[技术文章]
                            B --> E[前端动态]
                            B --> F[最佳实践]
                            C --> G[FIS3]
                            C --> H[amis]
                            C --> I[sugar]
                            D --> J[数据可视化]
                            D --> K[性能优化]
                            D --> L[工程化]
                    </div>
                </div>
            </div>

            <!-- Key Points -->
            <div>
                <h3 class="text-2xl font-bold mb-6 text-gray-800 font-serif">技术要点</h3>
                <div class="space-y-4">
                    <div class="flex items-start">
                        <div class="flex-shrink-0 h-8 w-8 rounded-full bg-indigo-100 flex items-center justify-center mr-4">
                            <i class="fas fa-check text-indigo-500"></i>
                        </div>
                        <div>
                            <h4 class="font-bold text-gray-800">SVG 到 PNG 的转换</h4>
                            <p class="text-gray-600">文章探讨了如何在前端实现 SVG 到 PNG 的转换，包括浏览器端和服务端的不同解决方案。</p>
                        </div>
                    </div>
                    <div class="flex items-start">
                        <div class="flex-shrink-0 h-8 w-8 rounded-full bg-indigo-100 flex items-center justify-center mr-4">
                            <i class="fas fa-check text-indigo-500"></i>
                        </div>
                        <div>
                            <h4 class="font-bold text-gray-800">自动化测试</h4>
                            <p class="text-gray-600">FEX 社区强调对前端自动化测试的探索，作为提升开发效率和项目质量的重要手段。</p>
                        </div>
                    </div>
                    <div class="flex items-start">
                        <div class="flex-shrink-0 h-8 w-8 rounded-full bg-indigo-100 flex items-center justify-center mr-4">
                            <i class="fas fa-check text-indigo-500"></i>
                        </div>
                        <div>
                            <h4 class="font-bold text-gray-800">团队和合作</h4>
                            <p class="text-gray-600">FEX 社区鼓励同行加入，共同探索和发展，团队合作是成功的关键。</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Footer -->
    <footer class="bg-gray-900 text-gray-300 py-10 px-4">
        <div class="container mx-auto max-w-6xl">
            <div class="flex flex-col md:flex-row justify-between items-center">
                <div class="mb-4 md:mb-0">
                    <h3 class="text-xl font-bold text-white mb-2">技术小馆</h3>
                    <a href="http://www.yuque.com/jtostring" target="_blank" class="text-gray-400 hover:text-white transition duration-300">
                        http://www.yuque.com/jtostring
                    </a>
                </div>
                <div class="flex space-x-6">
                    <a href="#" class="text-gray-400 hover:text-white text-xl transition duration-300">
                        <i class="fab fa-github"></i>
                    </a>
                    <a href="#" class="text-gray-400 hover:text-white text-xl transition duration-300">
                        <i class="fab fa-twitter"></i>
                    </a>
                    <a href="#" class="text-gray-400 hover:text-white text-xl transition duration-300">
                        <i class="fab fa-weixin"></i>
                    </a>
                </div>
            </div>
            <div class="border-t border-gray-800 mt-8 pt-8 text-center text-sm text-gray-500">
                © 2023 FEX 前端技术社区. 保留所有权利.
            </div>
        </div>
    </footer>

    <script>
        mermaid.initialize({
            startOnLoad: true,
            theme: 'default',
            flowchart: {
                useMaxWidth: true,
                htmlLabels: true,
                curve: 'basis'
            }
        });
    </script>
</body>
</html>